import React from 'react'
import { Switch,Route } from 'react-router'
import Login from './Login'
import Content from './Content'

const Routes = () => {
    return (
        <div>
            <Switch>
                <Route exact path='/' component = {Login} />
                <Route path='/home' component = {Content} />
            </Switch>
        </div>
    )
}

export default Routes
